﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using CPPProject.CppModel;
using System;
using System.ComponentModel.DataAnnotations;

namespace CPPProject.CppServices.Dto
{
    [AutoMapFrom(typeof(T_Biz_Location))]
    public class T_Biz_LocationDto : EntityDto<Guid>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
        /// <summary>
        /// 站点ID
        /// </summary>
        [MaxLength(100)]
        public string NLocationID { get; set; }
        /// <summary>
        /// 站点名称
        /// </summary>
        [MaxLength(300)]
        public string CName { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        [MaxLength(300)]
        public string CAddress { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        [MaxLength(300)]
        public string NLongitude { get; set; }
        /// <summary>
        /// 纬度
        /// </summary>
        [MaxLength(300)]
        public string NLatitude { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        [MaxLength(300)]
        public string CCusCode { get; set; }
        /// <summary>
        /// 上级站点
        /// </summary>
        [MaxLength(300)]
        public string NParentID { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        [MaxLength(300)]
        public string NContact1 { get; set; }
        /// <summary>
        /// 联系人1
        /// </summary>
        [MaxLength(300)]
        public string CContact1 { get; set; }
        /// <summary>
        /// 联系方式1
        /// </summary>
        [MaxLength(300)]
        public string CPhone1 { get; set; }
        /// <summary>
        /// 单选框是否选中状态
        /// </summary>
        public bool NPrimary1 { get; set; }
        /// <summary>
        /// 联系人2
        /// </summary>
        [MaxLength(300)]
        public string NContact2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [MaxLength(300)]
        public string CContact2 { get; set; }
        /// <summary>
        /// 联系电话2
        /// </summary>
        [MaxLength(300)]
        public string CPhone2 { get; set; }
        /// <summary>
        /// 单选框是否选中状态
        /// </summary>
        public bool NPrimary2 { get; set; }
        /// <summary>
        /// 联系人3
        /// </summary>
        [MaxLength(300)]
        public string CContact3 { get; set; }
        /// <summary>
        ///  联系电话3
        /// </summary>
        [MaxLength(300)]
        public string CPhone3 { get; set; }
        /// <summary>
        /// 单选框是否选中状态
        /// </summary>
        public bool NPrimary3 { get; set; }
        /// <summary>
        /// 联系人4
        /// </summary>
        [MaxLength(300)]
        public string CContact4 { get; set; }
        /// <summary>
        ///  联系电话4
        /// </summary>
        [MaxLength(300)]
        public string CPhone4 { get; set; }
        /// <summary>
        /// 单选框是否选中状态
        /// </summary>
        public bool NPrimary4 { get; set; }
        /// <summary>
        ///  联系电话5
        /// </summary>
        [MaxLength(300)]
        public string CContact5 { get; set; }
        /// <summary>
        ///  联系电话5
        /// </summary>
        [MaxLength(300)]
        public string CPhone5 { get; set; }
        /// <summary>
        /// 单选框是否选中状态
        /// </summary>
        public bool NPrimary5 { get; set; }
        /// <summary>
        /// 是否启用（1是0否）
        /// </summary>
        public bool IUse { get; set; }
        /// <summary>
        /// 最大容量
        /// </summary>
        [MaxLength(300)]
        public string NMaxCapacity { get; set; }
        /// <summary>
        /// 虚拟站点（1是0否）默认0
        /// </summary>
        public bool IVirtual { get; set; }
        /// <summary>
        /// 类型（0服务中心1客户2客户下游）
        /// </summary>
        [MaxLength(300)]
        public string IType { get; set; }
        /// <summary>
        /// T_Sys_User表的nUserID 创建者用户ID
        /// </summary>
        [MaxLength(300)]
        public string NReciveID { get; set; }
        /// <summary>
        /// 是否启用库位（1是0否）
        /// </summary>
        public bool IInPosition { get; set; }

    }
}
